

            const path = require('path');
            const staticImg = path.join(__dirname, 'static');

            function ArduinoUnoBlocks (Blockly) {
            
                        
                        

                        Blockly.Blocks['EXT_INFRARED_EMISSION_BLOCK_1607568177334'] = {
                            init: function() {
                                this.jsonInit({
                                    "message0": Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334,
                                    "args0": [
                                        
                        {
                            "type": "field_dropdown",
                            "name":  "pin",
                            "options": [
                                 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_0,  '1'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_1,  '2'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_2,  '3'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_3,  '4'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_4,  '5'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_5,  '6'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_6,  '7'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_7,  '8'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_8,  '9'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_9,  '10'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_10,  '11'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_11,  '12'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_12,  '13'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_13,  '14'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_14,  '15'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_15,  '16'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_16,  '17'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_17,  '18'],
 [Blockly.Msg.EXT_INFRARED_EMISSION_BLOCK_1607568177334_PIN_18,  '19'],

                            ]
                        },
                        
                        {
                            "type": "input_value",
                            "name": "value"
                        },
                        
                                    ],
                                    "colour": "#68228B",
                                    "extensions": ["shape_statement"]
                                });
                                }
                        };
                        
            return Blockly;
            }

            module.exports = ArduinoUnoBlocks ;

        